﻿@using EcBlog.Properties
@using Telerik.Web.Mvc.UI; 
@(Html.Telerik().Menu()
        .Name("AdminMenu")
        .Items(menu =>
        {
            menu.Add().Text(ModelLocalization.Blog).Url("/").ImageUrl("~/Content/images/home.png");
            menu.Add().Text(ModelLocalization.Pages).Action("Index", "Page", new { area = "Admin" }).ImageUrl("~/Content/images/pages.png");
            menu.Add().Text(ModelLocalization.Layouts).Action("Index", "Layout", new { area = "Admin" }).ImageUrl("~/Content/images/layouts.png");
            menu.Add().Text(ModelLocalization.Tags2).Action("Index", "Tag", new { area = "Admin" }).ImageUrl("~/Content/images/tags.png");
            menu.Add().Text(ModelLocalization.Users).Action("Index", "User", new { area = "Admin" }).ImageUrl("~/Content/images/users.png");
            menu.Add().Text(ModelLocalization.Settings).Action("Index", "Setting", new { area = "Admin" }).ImageUrl("~/Content/images/settings.png");
            menu.Add().Text(ModelLocalization.FileBrowser).Action("Index", "FileBrowser", new { area = "Admin" }).ImageUrl("~/Content/images/filebrowser.png");  
        })
        .Orientation(MenuOrientation.Horizontal)
        .HighlightPath(true)
) 
